
$script_root_dir = $PSScriptRoot
# 获取当前脚本的目录，然后拼接出init_env_environment_variable_1.ps1的完整命令，执行，完成环境变量的初始化
$env_var_script = Join-Path -Path $script_root_dir -ChildPath "init_env_environment_variable_1.ps1"
& $env_var_script

Write-Host $project_dir

$env_var_script = Join-Path -Path $script_root_dir -ChildPath "init_env_environment_variable_1.ps1"
$gitignore_file = Join-Path -Path $script_root_dir -ChildPath ".gitignore"

New-Item $project_dir\README.md
Copy-Item $gitignore_file $project_dir\.gitignore
